﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.Domain.Entity;

namespace TR.Domain.Repository.Sys_EncodeRepository
{
    public interface ISys_EncodeRepository
    {
        //分页查询
        Task<List<sys_Encode>> SencFenyeSelectAsync(int mys, int dqy, string qsj, string hsj, sys_Encode sen);

        //编码ID查询
        Task<sys_Encode> IDSelectAsync(int id);

        //修改规则信息
        Task<bool> UpdelectAsync(sys_Encode sen);

        //条件 查询 单条信息表
        Task<sys_Encode> TjSelectAsync(string tj);

        //分页总条数查询
        Task<int> SencZTSelectAsync();

        //编码规则新增
        Task<bool> InsertAsync(sys_Encode senadd);
    }
}
